﻿using System.ComponentModel;

namespace XCode.DataAccessLayer;

/// <summary>数据库类型</summary>
public enum DatabaseType
{
    /// <summary>无效值</summary>
    [Description("无效值")]
    None = 0,

    /// <summary>MS的Access文件数据库</summary>
    [Description("Access文件数据库")]
    Access = 1,

    /// <summary>MS的SqlServer数据库</summary>
    [Description("SqlServer数据库")]
    SqlServer = 2,

    /// <summary>Oracle数据库</summary>
    [Description("Oracle数据库")]
    Oracle = 3,

    /// <summary>MySql数据库</summary>
    [Description("MySql数据库")]
    MySql = 4,

    /// <summary>SqlCe数据库</summary>
    [Description("SqlCe数据库")]
    SqlCe = 5,

    /// <summary>SQLite数据库</summary>
    [Description("SQLite数据库")]
    SQLite = 6,

    ///// <summary>Firebird数据库</summary>
    //[Description("Firebird数据库")]
    //Firebird,

    /// <summary>SqlCe数据库</summary>
    [Description("PostgreSQL数据库")]
    PostgreSQL = 8,

    /// <summary>达梦数据库</summary>
    [Description("达梦数据库")]
    DaMeng = 9,

    /// <summary>DB2数据库</summary>
    [Description("DB2数据库")]
    DB2 = 10,

    /// <summary>TDengine数据库</summary>
    [Description("TDengine数据库")]
    TDengine = 11,

    /// <summary>Hana数据库</summary>
    [Description("Hana数据库")]
    Hana = 12,

    /// <summary>人大金仓(KingBase)数据库</summary>
    [Description("人大金仓(KingBase)数据库")]
    KingBase = 13,

    /// <summary>瀚高(HighGo)数据库</summary>
    [Description("瀚高(HighGo)数据库")]
    HighGo = 14,

    ///// <summary>网络虚拟数据库</summary>
    //[Description("网络虚拟数据库")]
    //Network = 100,

    ///// <summary>分布式数据库</summary>
    //[Description("分布式数据库")]
    //Distributed = 888,

    ///// <summary>外部数据库</summary>
    //[Description("外部数据库")]
    //Other = 999
}